<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <title></title>
    <script src="echarts.js"></script>
</head>

<body>
    <div id="box" style="width: 600px; height:500px;"></div>
    <script>
    // 获取到这个DOM节点，然后初始化

    var myChart = echarts.init(document.getElementById("box"));

    // option 里面的内容基本涵盖你要画的图表的所有内容
    var option = {
 
		grid:{
			show:false
		},
        xAxis: [{
            type: 'category',
            boundaryGap: false,
            data: function() {
                var list = [,,0.03,0.035,0.04,0.05,0.06,0.07,0.08,0.09,0.1,0.11,0.12,0.13,0.14,0.15,0.16,0.17,0.18,0.19,0.2,0.21,0.22,0.23];
                for (var i = 0; i < 1; i++) {
                    if (i <= 1) {
					list.push(i);
                    } else {
					list.push(i);
                    }
                }
                return list;
            }(),
			axisLine:{
			symbol: 'arrow',
				symbol: 'none',
				lineStyle:{
					color: "#red"
				}			
			}
        }],
        yAxis: [{
            boundaryGap: false,
			data: function() {
                var list = [0,5,10,15,20,25,30,35];
                for (var i = 0; i < 35; i++) {
                    if (i <= 35) {
                      list.push(i);
                    } else {
                       list.push(i);
                    }
                }
                return list;
            }(),
            type: 'value',
            axisLine: {
			symbol: 'arrow',
                lineStyle: {
                    color: "#red"
                }
            }
        }],
        series: [{
            type: 'line',
            symbol: 'none',
             smooth: 0.005,
			 lineStyle:{
				normal:{
					color: '#ff0000',
					width: 4
				}
			},
            data: [,,33.33333333,28.57142857,24,20,16.66666667,14.28571429,12.5,11.11111111,10,9.090909091,8.333333333,7.692307692,7.142857143,6.666666667,6.25,5.882352941,5.555555556,5.263157895,5,4.761904762,4.545454545,4.347826087]
        }]
    };
    myChart.setOption(option);
    </script>
</body>

</html>